<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
</h:head>
<h:body>
	<ui:composition template="/template/template.xhtml">
		<ui:define name="titulo">Inicio de Sesión</ui:define>
		<ui:define name="contenido">
			<body>
				<div id="inicioSesion" align="left">
					<h:form id="frmInicioSesion" prependId="false">
						<table border="1">
							<tr>
								<td bgcolor="red" rowspan="2"
									style="height: 400px; width: 640px;"></td>
								<td style="width: 295px; height: 80px;"><p:panelGrid
										columns="2">
										<h:outputLabel for="j_username" value="Usuario:" />
										<p:inputText id="j_username" required="true"
											style=" width : 200px; color : gray ;if(this.value='@usuario'){color : gray}else{color:black}"
											value="@usuario"
											requiredMessage="Por favor introduzca su usuario"
											immediate="true"
											onblur="if(this.value=='' || this.value==null){this.style.color='gray';this.value='@usuario';}"
											onfocus="if(this.value=='' || this.value==null || this.value=='@usuario'){this.value='';this.style.color='black';}else{this.style.color='black'}">
										</p:inputText>
										<h:outputLabel for="j_password" value="Contraseña:" />
										<p:password id="j_password" value="Rleon2222" required="true"
											style=" width : 200px;"
											requiredMessage="Por favor introduzca su contraseña" />
									</p:panelGrid> 
									<p align="right">
									<h:commandButton type="submit" id="login"
										style=" width : 80px; height : 25px; aling:center;"
										value="Aceptar" styleClass="ButtonStyle" />
										</p>
										</td>
							</tr>
							<tr>
								<td bgcolor="black" colspan="2">b</td>
							</tr>
						</table>
					</h:form>
				</div>
			</body>
		</ui:define>
	</ui:composition>
</h:body>
</html>